@import "~pc/styles/lib_var.less";

@titleLgWidth: 800px; //  Normal screen
@titleSmWidth: 600px; // Screens less than 900px
@titleXSmWidth: 360px; // Screens less than 700px and more than 375px

// Title: inviter invites you to join the space station
.inviteTitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  h1 {
    line-height: 28px;
    font-size: 20px;
    margin: 0;
    text-align: center;
    width: @titleLgWidth;
    .highLightText {
      color: var(--primaryColor);
    }
  }
  h2 {
    color: var(--secondLevelText);
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 30px;
    width: @titleLgWidth;
    text-align: center;
  }
}

@media screen and (max-width: 900px) {
  .inviteTitle h1,
  .inviteTitle h2 {
    width: @titleSmWidth;
  }
}
@media screen and (max-width: 700px) {
  .inviteTitle h1,
  .inviteTitle h2 {
    width: @titleXSmWidth;
  }
}
@media screen and (max-width: 375px) {
  .inviteTitle h1,
  .inviteTitle h2 {
    width: calc(100% - 48px);
  }
}
